<!-- index.html -->
<!DOCTYPE html>
<html>
<body>
<div>111111</div>
<button type="button" onclick="callArkTS()">点击调用app方法</button>
<p id="demo">333</p>
<script>
    function htmlTest() {
        console.info('JavaScript Hello World! ');
        alert(111111)
    }

    function callArkTS() {
      alert(22222)
         let str = testObjName.test();
        document.getElementById("demo").innerHTML = str;
        console.info('ArkTS Hello World! :' + str);
    }


</script>
</body>
</html>